var curl = window.location.href.toString();
var url_p = "http://server.tpp.isartop.com/"
var token = $_GET['token'];
if (token != null) {
    cookie("user_token", token)
}
token = cookie("user_token")
var user=null
function ready() {
    $(function () {
        $(document).trigger("init")
    })
    post("api/user/get",null,function (_user) {
        user=_user;
        $(document).trigger("user")
    })
}
ready()